package com.dk.service;

import com.dk.model.AutoCodeRule;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dk.vo.AutoCodeRuleVO;

import java.util.List;

/**
 * <p>
 * 编码生成规则表 服务类
 * </p>
 *
 * @author wbh
 * @since 2023-03-18
 */
public interface AutoCodeRuleService extends IService<AutoCodeRule> {

    List<AutoCodeRuleVO> getInfoListByTrim(AutoCodeRuleVO autoCodeRuleVO);

    void insertInfoAutoCodeRule(AutoCodeRuleVO autoCodeRuleVO);

    AutoCodeRuleVO getInfoAutoCodeRuleById(Integer ruleId);

    void updateInfoAutoCodeRuleById(AutoCodeRuleVO autoCodeRuleVO);

    void deleteInfoAutoCodeRuleById(Long ruleId);

    String autoGenerateEncoding(Long ruleId);
}
